﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Workbench.Annotations
{
    public class AnnotationPlanRunnerFactory
    {
        private readonly AnnotationRequestQueue _requestQueue;

        public AnnotationPlanRunnerFactory(AnnotationRequestQueue requestQueue)
        {
            this._requestQueue = requestQueue;
        }

        public virtual AnnotationPlanRunner CreatePlanRunner(AnnotationInfoSet annotationSet)
        {
            return new AnnotationPlanRunner(annotationSet, this._requestQueue);
        }
    }
}
